package cn.edu.neusoft.demo.hospital2.Dao;

import cn.edu.neusoft.demo.hospital2.pojo.ProblemFeedback;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProblemFeedbackDao {
    int addProblemFeedback(ProblemFeedback problemFeedback);
    List<ProblemFeedback> getAllFeedbacks();
    List<ProblemFeedback> getFeedbackByUserId(Integer userId);
    ProblemFeedback getFeedbackById(Integer feedbackId);
    int processFeedback(ProblemFeedback problemFeedback);
    int updateById(ProblemFeedback problemFeedback);
    int deleteById(Integer feedbackId);
}